package com.frain.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.feign.FeignClientsConfiguration;

/**
 * 
 * @ClassName: CustomerApplication 
 * @Description: 用来测试远端api调用（如第三方api调用的ribbon负载均衡调用）
 * @author sinaif
 * @date 2018年8月6日 上午9:39:56 
 *
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(defaultConfiguration = FeignClientsConfiguration.class)
public class CustomerApplication {

    public static void main(String[] args) {
        SpringApplication.run(CustomerApplication.class, args);

    }

}
